﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Rocket.API;
using SDG.Framework.Debug;
using Logger = Rocket.Core.Logging.Logger;

namespace AroPl
{
    public class AroCommand : IRocketCommand
    {
        public void Execute(IRocketPlayer caller, string[] command)
        {
            if (command.Length <= 0)
            {
                Logger.Log($"[极光·未来] - 插件加载前置 - 版本{System.Reflection.Assembly.GetExecutingAssembly().GetName().Version.ToString()}");
                return;
            }
            if (command.Length < 2 && command[0] == "reload")
            {

            }
        }

        public AllowedCaller AllowedCaller => AllowedCaller.Console;
        public string Name => "aro";
        public string Help => "极光·未来插件前置组件相关命令";
        public string Syntax => "<参数> <附加>";
        public List<string> Aliases => new List<string>();
        public List<string> Permissions => new List<string>(){"aropl.command"};
    }
}
